@import "./variable.scss";

#nav-bar{
    height: 63px;
    line-height: 63px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 5px 5px rgba(0,0,0,.07);
    .bar_left{
        float: left;
        ul>li{
            float: left;
            margin: 0 5px;
           h2{
               font-size: 16px;
               font-weight: 350;
               color: #424242;
           }
           >a{
               color: #444;
           }
           span{
               font-size: 12px;
           }
        }
    }
    .bar_right{
        float: right;
        ul>li{
            float: left;
            a{
                color: #616161;      
                &:hover{
                    color: $color;
                }
            }
            span{
                color: #e0e0e0;
                margin: 0 5px;
            }
        }
    }
}
#detailmain{
    min-height: 800px;
    padding-top: 38px;
    box-sizing: border-box;
    .product_img{
        float: left;
        img{
            width: 560px;
            height: 560px;
            display: block;
        }
    }
    .product_msg{
        float: right;
        width: 600px;
        >h2{
            font-size: 24px;
            margin-bottom: 8px;
            line-height: 36px;
        }
        >.sale-desc{
            line-height: 22px;
            color: $colorb0;
            margin-bottom: 15px;
        }
        >.company-info{
            color: $color;
            margin-bottom: 15px;
        }
        >.comprice{
            font-size: 18px;
        }
        >.line{
            border-bottom: 1px solid #e0e0e0;
            margin: 15px 0 15px 0;
        }
        >.subscribe-info{
            width: 600px;
            height: 52px;
            line-height: 52px;
            background: url(http://cdn.cnbj1.fds.api.mi-img.com/staticsfile/buydetail/booking.png) 50% 0 no-repeat;
            .subscribe_left{
                float: left;
                width: 435px;
                height: 52px;
                color: #fff;
                font-size: 14px;
                padding-left: 15px;
                box-sizing: border-box;
                span:nth-child(2){
                    font-size: 22px;
                    em{
                        font-style: normal;
                        font-size: 14px;
                    }
                }
                
            }
            .subscribe_right{
                float: left;
                width: 165px;
                height: 52px;
                color: #fff;
                .subscribe_hour{
                    @extend .subscribe_minute;
                    margin-left: 40px;
                }
                .subscribe_minute{
                    width: 18px;
                    height: 18px;
                    display: inline-block;
                    background: #c20000;
                    text-align: center;
                    line-height: 18px;
                }
                .subscribe_miao{
                    @extend .subscribe_minute;
                }
            }
        }
        >.product-address{
            height: 104px;
            width: 600px;
            margin: 20px 0;
            background-color: #fafafa;
            border: 1px solid #e0e0e0;
            padding: 30px 20px;
            box-sizing: border-box;
            font-size: 14px;
            >i{
                vertical-align: middle;
                margin-top: -2px;
                display: inline-block;
                font-size: 22px;
            }
            >span{
                margin: 0 5px;
            }
            >a{
                color: $color;
            }
            .havenow{
                margin-left: 31px;
                line-height: 22px;
            }
           
        }
        .optiondiv{
            width: 600px;
            min-height: 26px;
            margin-top: 20px;
            h4{
                height: 26px;
                line-height: 26px;
                font-size: 18px;
                color: #333;
            }
            ul>li{
                width: 292px;
                height: 42px;
                float: left;
                line-height: 42px;
                margin-top: 10px;   
            }
            ul>li:nth-of-type(2n){
                margin-left: 12px;
            }
            ul>li>a{
                width: 292px;
                height: 42px;
                font-size: 16px;
                display: block; 
                text-align: center;
                color: $color75;
                border: 1px solid #e0e0e0;
                &:hover{
                    border-color: $color;
                }  
            }
           
        }
    }
}